package top.zlhy7.module.work.vo;

import jakarta.validation.constraints.NotBlank;
import jakarta.validation.constraints.NotNull;
import lombok.Data;
import org.hibernate.validator.constraints.Length;

/**
 * @author renyong
 * @date 2024/9/29 22:30
 * @description 工单分派Vo
 */
@Data
public class WorkOrderFenpaiVo {
    /**
     * 主键
     */
    @NotNull(message = "主键不能为空")
    private Long id;
    /**
     * 处理部门id
     */
    @NotNull(message = "处理部门id不能为空")
    private Long handleDeptId;
    /**
     * 处理部门名称
     */
    @Length(max = 30, message = "处理部门名称长度不能超过{max}个字符")
    @NotBlank(message = "处理部门名称不能为空")
    private String handleDeptName;
}
